dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b42e252
)
Return boolean from status object.
author
nischayn22
<nischayn22@gmail.com>
Fri, 15 Feb 2013 13:22:01 +0000
(18:52 +0530)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Fri, 15 Feb 2013 19:27:39 +0000
(19:27 +0000)
Change-Id: I37e4c37423f16bee6342ffce02383db251d900cd
includes/job/jobs/EmaillingJob.php
patch
|
blob
|
history
diff --git
a/includes/job/jobs/EmaillingJob.php
b/includes/job/jobs/EmaillingJob.php
index
d359988
..
9fbf312
100644
(file)
--- a/
includes/job/jobs/EmaillingJob.php
+++ b/
includes/job/jobs/EmaillingJob.php
@@
-33,14
+33,15
@@
class EmaillingJob extends Job {
}
function run() {
- UserMailer::send(
+
$status =
UserMailer::send(
$this->params['to'],
$this->params['from'],
$this->params['subj'],
$this->params['body'],
$this->params['replyto']
);
- return true;
+
+ return $status->isOK();
}
}